using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN KyThiEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: KyThiEntity</para>
	/// <para>Description: ClassKyThiEntity store data of table KyThi</para>
	///</summary>

	[DataContract]
	public partial class KyThiEntity{


		private bool _InternalChangedIsNullKyThi_ID=true;
		private bool _IsNullKyThi_ID=true;
		private bool _InternalChangedIsNullTenKyThi=true;
		private bool _IsNullTenKyThi=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private bool _InternalChangedIsNullTrangThai=true;
		private bool _IsNullTrangThai=true;
		private int _KyThi_ID;
		private string _TenKyThi;
		private int _NamHoc_ID;
		private int _HocKy_ID;
		private Byte _TrangThai;
		[DataMember]
		public bool IsNullKyThi_ID{
			get{return _IsNullKyThi_ID;}
			set{if(!_InternalChangedIsNullKyThi_ID)_IsNullKyThi_ID=value;}
		}
		[DataMember]
		public bool IsNullTenKyThi{
			get{return _IsNullTenKyThi;}
			set{if(!_InternalChangedIsNullTenKyThi)_IsNullTenKyThi=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullTrangThai{
			get{return _IsNullTrangThai;}
			set{if(!_InternalChangedIsNullTrangThai)_IsNullTrangThai=value;}
		}
		[DataMember]
		public int KyThi_ID{
			get{return _KyThi_ID;}
			set{
				_KyThi_ID=value;
				if(_KyThi_ID!=null){
					_IsNullKyThi_ID=false;
					_InternalChangedIsNullKyThi_ID=true;
				}
			}
		}
		[DataMember]
		public string TenKyThi{
			get{return _TenKyThi;}
			set{
				_TenKyThi=value;
				if(_TenKyThi!=null){
					_IsNullTenKyThi=false;
					_InternalChangedIsNullTenKyThi=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public Byte TrangThai{
			get{return _TrangThai;}
			set{
				_TrangThai=value;
				if(_TrangThai!=null){
					_IsNullTrangThai=false;
					_InternalChangedIsNullTrangThai=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END KyThiEntityBase*****************************************/
	/*****************************************************************************************************/
}

